package org.bai.meetingfilm.backend.show.provider;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDiscoveryClient
@SpringBootApplication
public class BackendProviderApplication {

    private static final Logger LOGGER = LoggerFactory.getLogger(BackendProviderApplication.class);

    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(BackendProviderApplication.class);
        application.setWebApplicationType(WebApplicationType.SERVLET);
        application.run(args);
        LOGGER.info("show provider start success");
    }
}
